package com.cqwshzj.thread.bean;/**
 * @Description:
 * @Auther: Huang Zhijin
 * @Version: 1.0.0
 * @Date: 2021/4/12 10:49
 */

import java.io.Serializable;

/**
 *
 * 〈〉
 *
 * @author Huang Zhijin
 * @create 2021/4/12
 * @since 1.0.0
 */
public class User implements Stateable{

	private Integer userId;
	private String userName;
	private String sex;
	private String state;
	private String updateTime;

	//-----------------

	public User() {
	}

	public User(Integer userId,
				String userName,
				String sex,
				String state,
				String updateTime) {
		this.userId = userId;
		this.userName = userName;
		this.sex = sex;
		this.state = state;
		this.updateTime = updateTime;
	}

	//-----------------


	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}



	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	//----------------------------------------------

	@Override
	public Serializable getIdentityField() {
		return userId;
	}

	@Override
	public String getState() {
		return state;
	}

	@Override
	public void setState(String state) {
		this.state = state;
	}
}
